/***********************************************************************
 * Copyright CSAir.
 * All rights reserved. 
 *
 * HISTORY
 ***********************************************************************
 *  ID      DATE                PERSON            REASON
 *  1      2009-10-09           曾睿                                      create
 ************************************************************************
 * 
 */
package com.redhat.redwork.exception;

/**
 * 系统级异常基类
 * @author leo
 *
 */
public class SystemException extends BaseException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6266784708475872672L;
	
	
	private Throwable originalException;
    
	/**
	 * 获取exception原信息
	 * @return
	 */
	public Throwable getOriginalException() {
		return originalException;
	}

	/**
	 * 构造函数
	 * @param key
	 */
	public SystemException(String key) {
		super(key);		
	}

	/**
	 * 构造函数
	 * @param key
	 * @param params
	 */
	public SystemException(String key, String[] params) {
		super(key, params);		
	}
	
	/**
	 * 构造函数
	 * @param key
	 * @param originalException
	 */
	public SystemException(String key,Throwable originalException ){
		super(key);
		
	}

	
}
